﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.IronOne.BoardPACWinAppDAO.DB
{
    public class MainCategory
    {
        [PrimaryKey]
        public int CategoryID { get; set; }
        [NotNull]
        public string CategoryName { get; set; }
        public string Info { get; set; }
        public string TimeStamp { get; set; }
        public DateTime? LastUpdatedDateTime { get; set; }
        public string Actions { get; set; }
        private int _categoryOrder = 0;
        public int CategoryOrder
        {
            get { return _categoryOrder; }
            set { _categoryOrder = value; }
        }        
        [NotNull, MaxLength(50)]
        public string ShortName { get; set; }
    }
}
